﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace BookMS
{
    public partial class user12 : Form
    {
        public user12()
        {
            InitializeComponent();
        }
        public void SetLabelText(string title, string content, string sender, string sendtime)
        {
            label1.Text = title;  // 设置标题
            textBox1.Text = content;  // 设置内容
            label2.Text = "发送人：" + sender;  // 设置发送者
            label3.Text = "发送时间：" + sendtime; // 设置发送时间
        }
    }
}


